Developer Documentation

QuickTime 4 API Documentation

QuickTime 4 Reference

Previous | Chapter Top | Chapter Contents | Next |

Instrument Match Flags

These flags are returned in the instMatch field of the General MIDI information structure General MIDI Instrument Information Structure to specify how QuickTime music architecture matched an instrument request to an instrument.

enum {
    kInstrumentExactMatch       = 0x00020000,
    kRecommendedSubstitute      = 0x00010000,
    kQualityField               = 0xFF000000,
    kRoland8BitQuality          = 0x05000000
};
typedef InstrumentAboutInfo *InstrumentAboutInfoPtr;
typedef InstrumentAboutInfoPtr *InstrumentAboutInfoHandle;

Constant descriptions

kInstrumentExactMatch
The instrument exactly matches the request.
kInstrumentRecommendedSubstitute
The instrument is the approved substitute.
kInstrumentQualityField
The high-order 8 bits of this field specify the quality of the selected instrument. Higher values specify higher quality. For built-in instruments, the value of these bits is always kInstrumentRoland8BitQuality, which corresponds to the quality of an 8-bit Roland® instrument.

© 1999 Apple Computer, Inc.

Previous | Chapter Top | Chapter Contents | Next